package com.yuandian.bpm.bi.modules.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 发件人
 * @TableName conf_addresser
 */
@TableName(value ="conf_addresser")
@Data
public class ConfAddresser implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 显示名称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 邮件服务器
     */
    @TableField(value = "email_host")
    private String emailHost;

    /**
     * 端口
     */
    @TableField(value = "email_port")
    private Integer emailPort;

    /**
     * 加密方式, 1:SSL  2:TLS 加密 3:不加密
     */
    @TableField(value = "encrypt_type")
    private Integer encryptType;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     *
     */
    @TableField(value = "is_default")
    private Integer isDefault;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
